home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / util / pack / agf.lha / agf.readme < prev    next >
Encoding:
Text File  |  1999-09-06  |  2.5 KB  |  75 lines

  1. Short: AGF V0.9 - n*8-bit Sample Pre-Packing Processor
  2. Author: olethros@geocities.com (Christos Dimitrakakis)
  3. Uploader: olethros@geocities.com (Christos Dimitrakakis)
  4. Type: util/pack
  5. Requires: 68020+ (fpu opt.)
  6.  
  7. OVERVIEW
  8.  
  9. AGF is a sample pre-processor. It transofrms the data into a form having very
  10. little information content. This makes it easier for compression programs to
  11. pack it down to a small size. AGF combined with GZIP gives an average
  12. compression of 50% and it is always better than any other compression method on
  13. its own. It is similar to ADPCM, but better :)
  14.  
  15. HISTORY
  16.  
  17. 06-09-1999 : Released a version that works :)
  18. 05-09-1999 : Released a version that works properly (more or less)
  19.  
  20. SUMMARY
  21.  
  22. AGF - Adaptive Gradient-descent FIR filter.
  23.  
  24. This is a neural-network-like adaptive FIR filter, employing a neural
  25. network of 32 neurons. The adaptation is deterministic, which means
  26. that the sample can be recovered from the processed file without
  27. needing to save an FIR coefficients to it as well. Adaptation is done
  28. on-line, on a sample-by-sample basis.
  29.  
  30. USAGE
  31.  
  32. AGF.fpu MODE sample processed_sample
  33. AGF.int MODE sample processed_sample
  34.  
  35. The processed sample can then be efficiently packed with any kind of packer.
  36. I recommend xpk (xGZIP or xSQSH). lha/lzx will also do :)
  37. The results are always MUCH better.
  38.  
  39. Modes:
  40.    x  :  extract (decode) using a linear ANN
  41.    c  :  compress (encode) using a linear ANN
  42.    xd :  extract (decode) using a static filter
  43.    cd :  compress (encode) using a static filter
  44.  
  45. AGF.fpu & AGF.int, implement the same algorithm using floating point and fixed
  46. point representations respectively. The first one is compiled specifically for
  47. 68060 with FPU and the second for 68060 (using the math libs for any FPU
  48. instructions..  which are only a couple).  The integer version is twice as fast
  49. on my 68030+68882..  and the packing performance difference is negligible.  I
  50. expect the int version to be also faster on 060 machines (lots of MULs), but
  51. maybe the .fpu version is faster on 040..  test it..
  52.  
  53.  
  54. OUTPUT
  55.  
  56. It outputs the average error of the ANN predictor and when it finishes it shows
  57. the values of the ANN weights.. in case you are interested :)
  58.  
  59.  
  60. TODO
  61.  
  62. Add an RBF layer before the 32-neuron layer.
  63. Make an xpksublib out of it.
  64. Add options for adjusting the number of coefficients and adaptation rate.
  65.  
  66.  
  67. BUGS
  68.  
  69. Bugs Reports to olethros@geocities.com with "AGF BUG" as the subject message please
  70.  
  71. SEE ALSO
  72.  
  73. see also dev/basic/gasp.lha for a similar pre-processor where the adaptive
  74. process is controlled by a Genetic Algorithm
  75.